package com.cqhgcloud.monarch.organ.controller;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
/**
 * @param  测试
 * @author weimeilayer
 * @date 2020年1月31日
 */
public class MonarchTest {
	
	private static final PasswordEncoder ENCODER = new BCryptPasswordEncoder();
	
	public static void main(String[] args) throws Exception {
		String content = "123456";
		//现在框架登录加密
		System.out.println(ENCODER.encode(content));
	}
}
